Core: Fixed sqlite loading problem on jRuby