Fix architecture issues in Makefile compiler options + namespace issues.

FIX: Remove namespace qualifier std:: before sprintf.
ENH: Readability of logical operation in misc.cpp (caused warning)
FIX: Removed -mcpu options from Makefiles.