fixed to build on CentOS 6.3.