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