Changes to compile packages with OpenWrt 12.09

I tried compiling these packages with 12.09 stable, and ran into a bunch of dependency errors. These extra flags seem to resolve all of the issues.