added -fPIC to makefile