Bug fix - parts of musl build with -O3.
Moved most variables from the configuration to build_package.

This simplifies the configuration and improves the build_package abstraction of cross-compilation.