fix *platform_catgeory to *platform_category in config.c and fix some indent and space, to fits better with upstream code