Is there a `make install`?
Also you could do `lib.install "build/bin/#{archstr}-osx/libsnap7.so" => "libsnap7.dylib"` instead of the rename