Fixing foreach and loanbroker builds: added removed derby version