Compile sub-projects on dependent operating system