Add compilation dependencies to lib