cross-platform code refactoring since SmartMobileStudio 2.1.1.3435 did fix some compiler bugs or limitations we identified and reported to the SMS team (thanks for your reactivity, especially Eric!), so that our temporary workarounds are not necessary any more