mac warning e windows error compiling fixed