optimized make

Hi Matt, When you were busy I modified the build script