Fix build errors

 Author:    soupy031 <jasonsurprenant@yahoo.com>