Build fixes for OS X. Remove ogg dependency.