add missing fstream include for linux build