fix typo problem on HIGH_BIT_DEPTH with non-PIC mode

--HG--
branch : stable
fix Issue #30, disable stack execute on gcc

--HG--
branch : stable
threading: on linux gettimeofday() requires <sys/time.h>, UINT32_MAX is C only

--HG--
branch : stable
Merge with stable