Fix NETFX_CORE build