fixes make-Makefile.sh shell script shebang
adds linker flags for librt