fix compiler warning
provide workaround for i686-apple-darwin11-llvm-g++-4.2 (gcc)4.2.1 compiler issue