Build fixed

Works on Yosemite + Xcode 6.1

```
10/21/14 5:22:22.427 AM Headphoney[60527]: Headphones removed
10/21/14 5:22:28.559 AM Headphoney[60527]: Headphones inserted
```