fix 'make install' for macos