Fixed build-cache script

Cache now builds and UI populates as it did before.
Merge pull request #26 from dotcloud/build-cache

Fixed build-cache script