static: fix library names in "debug" mode

:(