fixed bug with platform detection from appinfo