attempt to add compilation of registration library to cookbook