Trying to emulate how fsharp does the build