Fix production build.

Resolves #165