I've made an ugly workaround - copied "Sql/sch_schema.h" to "sql_schema2.h" an changed there "All_Tables" to "All_Tables2".
At least it allows me to create two databases and work with them.
And added NOAPPSQL to build config.
The problem arised in GUI. When i insert record to the first declared table everything works fine, but when i insert record to second table - cursor moves to the first table, and if i click in the empty field there it will create new record in first db, but if i click in empty space in the second table it will create record in the second db (as it should).