define DL_LOAD_PATH earlier (fixes #3838)