XCB platform layer for Handmade Hero