Fix 'unused' compiler warnings
Bump ruby version to 1.9.3 and BDB to 6.0