build: in Makefile.m32 simplified autodetection.