Support for freeBSD closes #149