Miscellaneous Windows QGC build fixes.. including APM crash fix