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.
Let's make this a little less verbose, the lines with the comma and the one here can be in the previous ones. Otherwise looks fine, I will test soon.