added configuration option for selecting platform type