build configs and use libraries rather than include source trees for externals