bugfix: cmake darwin