Added utilities and improved choose_processor with multi platform support