Use the right UID and GID for build files.

Refs #5996