Simple build script added and some makefile modifications