build rift and normal versions