[fix] move flags for compability with old compiler