Changes INSTALL_DIR to DESTDIR in Makefile.
Slightly improve path testing.