wrap both platforms for gdSharp