This pull request is not supported by BSD Make.
However, maybe `$(shell ...)` is also GNU extension.
Using gmake on BSD-derivatives may be an alternative way to make.