fixed mac builds

Building on osx fixed…