revert addition of -fPIC to linker flags