making things compile on newer systems