Improve SConstruct file.

Thanks to Elan Ruusamäe and Milan Bouchet-Valat.

The current version doesn't allow to switch configurations yet.

BUG=42
3 files changed