Fixed Makefiles.
Minor changes for Debian.