Cannot enable maschine mikro2 in 8.10

I can’t seem to get ardour 8.10 compiled with maschine support to actually recognize my maschine mikro 2 and allow me to enable it as a control surface in the preferences. I’ve confirmed udev is properly setting the group and permissions a la this thread but still no luck. I was able to interface with it using this so I don’t think it’s a hardware issue.

also failing to compile git-master with ./waf configure --maschine (it works without the --maschine flag though):

In file included from ../libs/surfaces/maschine2/m2controls.h:26:
../libs/surfaces/maschine2/m2_pad.h: In member function ‘virtual void ArdourSurface::M2Pad::set_value(uint16_t)’:
../libs/surfaces/maschine2/m2_pad.h:111:50: error: ‘fabsf’ is not a member of ‘std’; did you mean ‘fabs’?
  111 |                                         if (std::fabsf (_last - _pressure) > mindelta) {
      |                                                  ^~~~~
      |                                                  fabs
In file included from ../libs/surfaces/maschine2/m2_dev_mk2.h:22,
                 from ../libs/surfaces/maschine2/m2_dev_mk2.cc:25:
../libs/surfaces/maschine2/m2device.h: In member function ‘void ArdourSurface::M2Device::bump_blink()’:
../libs/surfaces/maschine2/m2device.h:68:45: error: ‘fabsf’ is not a member of ‘std’; did you mean ‘fabs’?
   68 |                         _blink_shade = std::fabsf (1.f - _blink_counter / 6.f);
      |                                             ^~~~~
      |                                             fabs