Fix windows builds on travis. 

make sure apt is up todate before installing packages as per http://docs.travis-ci.com/user/installing-dependencies/#Installing-Ubuntu-packages