add build-all script which stupidly compiles templates twice.