get compilation using -fPIC