fixed the make file and build scripts

if you want to merge this