Build extra dir prior to data dir as it changes the libs and breaks build