plugins/c_src.mk: use non-regex file extention detection

* The `-regex` option of `find` command to determine `SOURCES` in
  plugins/c_src.mk` is not portable; does not work on OS X.
  Rewrite with a portable form of using `find` native `-name`
  command option with `\(`, `-o`, and `\)`.

* Support file extentions of `*.c`, `*.cc`, `*.cpp`.

* Add LDFLAGS for OS X for proper NIF linking.
We need to find *.c, *.C, *.cc and *.cpp, seems like you are missing one there.