fix static linker parsing bug