Fixing build on macox