add a patch so that it builds on CentOS6