Use config scripts instead of hard coding include and lib dirs