compilable on CentOS 6.4