add support for macports in mac os only, of course