build: in Makefile.m32 moved target autodetection.

Moved target autodetection block after defining CC macro.