Okay. Just be careful that this isn't the source of your woes..

When building binaries like this, I sometimes create symlinks for EVERYTHING in the ?????/bin directory, and dump it at the head of the PATH.

Cheers