fixed compilation errors on new linux-heca/libheca