Added missing vtable generation support code.
Stripped "lib" from the beginning of a library name for compatibility with the .NET (that is, on Windows) way of importing DLL-s.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>