fix race condition in make mock

Link: https://github.com/GeneAssembly/biosal/issues/72
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>