Set the WINAPI_FAMILY to WINAPI_FAMILY_PHONE_APP for both nmake files.