Make KRuntime build on OSX