Fix compass compile