Fixed WAV loading under 64-bit systems.