Autodetect platform so that StrongLoop env variables get set.