Remove unused RELEASE_BUILD option
(cherry picked from commit b9b887c2658da4f15bcfa995491e49155178aa32)