fixes issue #2

variable CCLIBS needs to be exported (make creates sub-shells)