Added the static only patch to the build.
Made the patch, poky specific.