added compiler flags and added new subspec for custom Reachability class