changed compile directory to fixed path and removed $cwd from the construct

Signed-off-by: yongzhez <yongzhe.zheng1@gmail.com>