Mac OS X build patch

Fixed wrong dependency on library folder when Macports is installed.