[xbuild] Fix mscorlib resolution for custom frameworks