bluediving: Fix build issues.