Update build so it can be tested independently

Provisioning a new *Ubuntu precise* box wasn't working for me without
these changes. Also, the `build.pp` test now passes when run with
`vagrant up`.