Apply build-opts.patch
Apply use-chkstk.patch
Apply large-alloca.patch