Make selftest build and run on FreeBSD 10 with gmake