deps: pass extra flags to cmake (fix x86 build)