introduce autocompile setting (Closes #42)