Only add library path once per run, check dir exists before adding it