add unique id for u5, also allow to build with OPT_OS_CUSTOM
2 files changed