rc: Moved closing bracket outside of the #if block