build: drop usage of mozApp when finding the mozilla build

(integrated from master branch change 54387d9 by Todd Whiteman <toddw@activestate.com>)