Makefile: simplify clean/mrproper rule and export INSTALL_DIR variable
tests/Makefile: fix lib search path