Add dynamic make tool detection

On FreeBSD the GNU make binary is called 'gmake'. The native
BSD make cannot be used due to syntax incompatibilities.