Use configuration from bsys to configure packages

Now package gets compiler and flags from bsys configuration and uses
it at configure time.

Also added C++ configuration support