Do not echo messages if no mac platform is found

This is needed because we moved the file to the plugin directory. This
means the file is always executed, even with on platform different than
Mac OS X