[FIX] first probe install path, then the build path for share/OpenMS

fixes #953; see #953 for details