use correct targetplatform version