Arranged CMakeLists to compile nexec.
Implemented nexec.