Fix persistent-mysql compilation