detect platform and parse addons_config accordingly
(closes #5)