Build sdk if library is missing