Able to link external program without modifying CMakeLists by using proper link order and including libmoses_exec.a