Improved makefile. Added export LD_LIBRARY_PATH