vcl: restore that cast for MSVC

Change-Id: I8a8b4b16811660290c881f82b3cf9b910d054215