Use extra_link_args for -lstdc++
Ignore compiled shared library files generated in the source tree under windows