split sources in lib/