Add appropriate requires when using library as gem