fix: osx 10.10 cmake compilation