Allow port compilation using c_src.mk

The additional env.mk file doesn't seem necessary especially because it may be different on different platforms.
This way the libraries directory is determined automatically or have to be overriden in the Makefile,
and this must be done anyway to compile ports.