```ruby
lib.mkpath
inreplace "build/osx/common.mk", "/usr/lib", lib
```