String library problem

I can't get the String library to work, even declaring an instance of Sting class, like this:

#include <String.h>
String str = String(10);

Throws this compiler error:

error: 'string' does not name a type

I've tried compiling the examples that come with the library, and (after fixing the include from WString.h to String.h), they have the same problem.
Any ideas?

(after fixing the include from WString.h to String.h)

If you switch it back, it compiles no problem.

Even though the library is called "String", the actually file names are called "WString".

Good luck!