Helper for nested cmake builds