Fix cflags and ldflags setting
Bump submodule versions
Support static linked libs
Bump gem version