gcc compile fix for akm sensor