Update Makefile to accept parameters

if CC, WITH_LIBUDEV or WITH_LOGGING are set in the ENV they are not overwritten in the makefile