Modified halconf.h a bit