parse build config