Temporary compile fix for windows
Remove explicit addition of -fPIC

Also fixes warnings on Windows about unknown compiler flag.
This is inherited from the root CMakeLists.txt in case it is needed.