Add missing flag to windows makevars
Fixes for -Wall -pedantic
Switch from std::auto_ptr to boost::shared_ptr.
Closes #20
Merge from official repos