on freebsd make defaults to bmake, which is not supported by
third party libraries, so use explicit gmake for freebsd.