fix: osx compilation fail