split exe and lib