make $prefix available for sub-makefiles