Any existing LD_LIBRARY_PATH is now correctly used during build

I think the issue was that the g++ command indirectly used the
LD_LIBRARY_PATH which has been set in the Makefile without expanding
Any shell variables. I'm not quite sure how the internals work but it
seem sto run now..

Fixes #57
Can now build everything with make HEADLESS=TRUE