How to build profiled stage1?