compilation fixes for zcc; still very broken, though