merge fix from https://github.com/rickhg12hs/libLAS/commit/2eca80be20e4a476a2352e5c3e980e19c913648a