Better way to compile.