Added platform detection to config file.