Seperate the compiling and linking step.