Use CMAKE_POSITION_INDEPENDENT_CODE

Instead of hardwiring -fPIC into flags