Add -fpermissive to CXXFLAGS

newer gcc won't accept such pointer conversion in repository.cc.