[fsharp] Improve compilation order for the sample project