Fixing makefile and install scripts.