Added platform-dependent lib loading in Makefile
Fixed bug that erroneously disallowed make clean