add -fPIC flag to CMake build