changed static linker flags