clear up osx lpath issue