move bin and lib dir to topdir