NewSoftSerial library is not recognized by arduino

NewSoftSerial is called SoftwareSerial in IDE versions 1.0 and above. So the include looks like this:

#include <SoftwareSerial.h>
SoftwareSerial mySerial(4,5);