move SDL threading includes out of header