Added maven support for both brew and macports