Fix shared_component build for Ozone platform.

This patch makes necessary changes in Ozone Wayland code base to fix
shared_component build.