Adapted for my MSVC setup