Fix compilation on FreeBSD/Solaris

extconf.rb needs to call gmake instead of make on these platforms, then it compiles just fine.