Fix logic on project last build time