remove deprecated files
script to make libdir on OSX