Let build files created into builddir

The `PWD=... cmd` setting didn't work for me
change to `cd ... && cmd`