Reorder headers to avoid dependency issues (required for NetBSD)