Fixed building on MacOS.