add a global STATIC option
Create a STATIC option that perform the following:
On a package that provide libraries:
- Don't ship a shared librarym only a static one
On a package that provide executable:
- Link to static libraries, make the executable static
If a package provide both, applies the two rules to it.