Build fixes fot QtCreator 2.6.81

minor changes to get it building