Fix compilation error in PeriodicFlow.hpp
Set python versions explicitly.