ginac: fix build on darwin