fixed linux case bug (directory case in ./ship/modules)
fixed minor compile warnings.

Signed-off-by: Allan <zhyrohaad@bellsouth.net>