more fixes to get hapi working in azure