Support for Compass

Import compass library if compass is installed.