make compass check work in every branch

Change-Id: I1d55248dd5330fdf94a77218810ff696e28f3fd1