Fix longentropysel error in header and driver