Add #includes required by GCC 4.3, thanks for Zhongxing Xu