added needed libraries to exec.cpp