Fixed build with compass