fix rebuilds when target up to date