change library path from absolute to relative