unset CDPATH variable if set, cleaning up

build failed when CDPATH variable is set