Added support for some "subtargets" (like windows/windows8).