Support ubifs in platform/build.