clean up libraries config in multiple build files. however now we reach
DX limits for # of methods.