Fixed compiler error w/ gcc 4.3.4.  Also fixed compiler error with APPLE defined.
Merge pull request #280 from thewacokid/master

Fixed compiler warning/error w/ gcc 4.3.4.  Also fixed compiler warning/error with APPLE...