add flags to prevent patches from being applied when build for other device