Added preprocessor flags to switch compass/gyro modules on/off.