Use build-specific build dirs.
Fixed syntax error.