You need to specify the install prefix, e.g.

```ruby
system "make", "install", "PREFIX=#{prefix}"
```