Fixed crash in 32 bit Ubuntu system (ubuntu-12.04.2-server-i386)
Merge pull request #309 from chaizhenhua/32bit-crash

Fixed crash in 32 bit Ubuntu system (ubuntu-12.04.2-server-i386)