Build on mac and windows using msvc.