remove unnecessary makefile variable and add -fPIC