Head and Hazlewood put Australia on course for victory v Windies