fixed examples linker flags