Unify 'make prepare' between libports and ports