Fix compilation errors in 32-bit debug.
Merge pull request #76 from unknownbrackets/warnings

Fix compilation errors in 32-bit debug
Buildfix and improvements to Pandora
define changes for mac from vit6969.