fix lack of subshell and make -C