support build for prod/test version.