[FIX] fix compile error

- resolve overloaded call to log function
- fix MSVS error