Remove SRFI-1 dependency

This removes the use of the function `fold-right`, so it's not more necessary to require `srfi/1`. I think that this also remove the dependency to the `srfi-lite-lib` package, but I'm not sure how to test that.