Manage compile and link flags for libraries