Remove flip.hpp and automatically generate it in build process