knock compilation fix on EL6

with better build environment i was able to reproduce the compilation error, now with fix borrowed from http://jpace.wordpress.com/2010/06/25/knock-patch/ the compilation finishes ok.