fixed linux makefile. g++ seems to be stricter about references, not really sure why...