Fix build issue with F# Android projects

Fixes bug #19057