Fix for -Werror switch use

Switched the #warning messages to #pragma message messages instead, so you can still compile the framework with -Werror switched on and not have the SystemConfiguration or MobileServices frameworks included. Without this change, they get promoted from warnings to errors and you cannot compile the framework.