Updates for 1.7.10 build
Fix error in NOECHO handling
Big overhauling of the build scripts. Now everything seems to work automatically.