Well, I figured out a temporary solution. I simply copied the file libpcre.so.0 from the build system onto the flash using the following commands:
cd /lib
/etc/rc.conf_mount_rw
scp root@BUILDSYSTEM:/var/local/lib/libpcre.so.0 .
/etc/rc.conf_mount_ro
This seems to work, but I would still like to know why the build system is currently broken.