Make compatible with lib in rails folder