Use LD_LIBRARY_PATH rather than patchelf
Store version in variable, fix release