Updated postinstall for TravisCI compatibility