Got all warnings out of mac build