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.
Isn't this going to link with erl_interface and ei even if we don't need them?