Moved Facebook includes to ensure they are only called if Facebook is enabled.