efd: fix build by removing dependency to libmath