Fix errors with parallel make