OSX: More nametool improvements for Qt5