add function elapsed_time to calculate the time it took to build the source