Fixes to make FireMonkeyGUI build.