Fix vc++ compilation