Build app when deploying.

Resolves #236