This commit also fixes several problems with -j option (parallel compilation). The .olean files were not missing data when -j was used see issue #576