Consistent platforms: Fixes tests by adding specific targetPlatform