Added FreeBSD support

Hi,

I just patch the script to support FreeBSD. Since Freebsd uses BSD make in default (not GNU make), I added a if-statement to check which make should be used.