fix osd build