Adding reference to a library