fix for the build on the mac.