Fix #6 Unable to compile under Windows

The VS C Compiler doesn't like defining variables on places other than
the top of the function and doesn't natively support stdint.h.