Partial recompilation of libraries