Don't precompile templates in debug mode

Per recent discussion in #30. May improve build times.