Use workdir instead of builddir

builddir cannot be a property