graphics: fix native compilation