Fixing build for mac OS. Kinda.