Fixed #include order for OS X.