Move stdc defines to the top of the file