Add option to precompile backend