race condition in building static assets