Use SHARED_FLAG compiler tag