[m4] fixed check to not require eigen