Fixed a poblem with the post build script caused by changes to Travis