Issues with build/patch scripts fixed.

- Build environment script variables fixed to properly point to sysroot
- Patch script fixed to enter the source directory before patching
- Package: opkg (fixes for patches)