fix for compile with vc11