Fixes for buildroot