Made corelib build XML documentation in release mode