Added composer update before building the script

This should fix autoload issues on travis because of an old version of composer