Fixes for VisualStudio compiler errors, issue #60.

Fixed VisualStudio compiler errors: __inline instead of inline and local variables always defined before code.