Added support for CreateContextWithAttribs to Linux.