fix FS#351 (Fail to install using make --jobs)