fix msc++ compilation