Made makefile cross platform comparable
Removed some debug code.