Add fPIC flag to CMakeLists.