[GRASS5] 5.1 libs

I have split dbmilib and switched to shared libs.
If you get any new error, this is probably the reason.

Radim