Compile under Windows without warnings.

Signed-off-by: Shannen Saez <shannenlaptop@gmail.com>
Merge pull request #311 from shancat/master

Compile under Windows without warnings.
Allow classes to be private, with header file in src directory
Merge pull request #313 from hintjens/master

Allow classes to be private, with header file in src directory