adding -fPIC to make file.