Fix build-dir. Environment variables aren't escaped.