Fixed two compiler warnings for the minimal_net target on Mac OS X.