Fix build for Mac computers.
Fix build so it works on Mac.