fix gcc-4.6 linker-style