Apply changes to make on FreeBSD