Use BUILD_* variables only if they are set to non-empty strings.
This helps to make sure on the command line that the environment variables like BUILD_CC
will be ignored.
For example:
$ export BUILD_CC='bad stuff'
$ ./configure BUILD_CC=
$ make && echo "OK"
OK