Fixes Mac - level-db build issues.