Fixing compile errors in Qt 5.0.1 on OSX 10.7.5

- Applied patch from Graeme on dictionary.mm, dictionary_data.mm and
dictionary_manager.mm
- removed "const" also in sound.mm