Do not recompile the library if it is not necessary