Fix the actual issue rebuilding frameworks when the version changes

MW-2877