Build: Fix compilation on OSX