Move application environment population to before_compile
Release 0.1.46

Move application environment population to before_compile