Follow-up to HPM.

* Fixed small warning
* Added support for Visual Studio 2010.

Signed-off-by: Matheus Macabu <mkbu95@gmail.com>