Fix compass config and compile