Extra semi-colon
Removed inline declaration of variables

Fixed compile error: "error C2143: syntax error : missing ';' before
'type'"
See http://andre.stechert.org/urwhatu/2006/01/error_c2143_syn.html
Fixes to get it to compile on VC (no C99)

- stdbool
- replace inline with __inline
- replace isnan with _isnan
- custom definition of NaN