Compiling state for fsharp / fsxaml based app