Allow to specify the build mode.