The Strike Industries AMBI Magazine Release works with Mil-Spec dimension AR15 lower receivers. So it will most likely not work with an Aero Precision M5 Lower.
Yes, the Strike industries ambidextrous magazine release works fine in Aero M5 lower receivers. I have one in my M5 lower right now.