Fixed compass flex on Ubuntu