Load "lib_sql" instead of "lib_sql.so". This makes things work on OSX as well.