Fixed directly calling operator bool(), didn't work with gcc-4.4.
issue #94