Nice find @mactavisher ! This works!
For anyone struggling with this, this is the way to resolve your issue.
For future reference for Epic: This is still absolutely a bug with the 5.4.0 release. In my opinion the solution above should be considered a workaround. The code in question is ambiguous and it is not a surprise that it fails with certain compiler settings.