winmem.c needs to be in addition in the manifest, not instead of, rmem.c. This is because rmem.c is used for other platforms.