Ensure Joxa can be built on (Open|Free)BSD as well

Please note that on *BSD platforms you need to use `gmake` instead of
`make` in order to build Joxa successfully.