add fclose()
add some scaffolding to be able to build LASzip in emscripten (not working)