Improve c_src handling

Don't do anything if no c_src dir.
Add erl_interface headers and lib for compile and link.
Add $(LDFLAGS) to compile and link.
As I understand ld will not add function from lib if it not used (if you not set --whole-archive for it).
So it is save to include it and let ld get only needed from it.