Small tweaks required for building libscsynth for Win 64-bit

The changes herein were required to build libscsynth. However, I don't know the SC code base at all, and some of the changes may have unintended side effects. Suggestions welcome..