Set up framework for compilation.