fix: building libsingular with FLINT