Build and link options were corrected.
timer was added to measure the execution times.