Add -fPIC, -ldl to makefile