Make gomdb statically linked