Remove old lib directories when updating from 1.12

Remove old lib directories when updating from 1.12