make: fix lastchange calculation