Revert "Let init_database link to libcommon.la"

This reverts commit 1b8704b666053e1777b9112ac107e7d7393da997. Because CC_FOR_BUILD may be different from CC for main library.