[PATCH 1/3] hwconfig: Allow to compile it without env support