workaround LD_LIBRARY_PATH issues