fixed linker error due to stricter linker in Xamarin