Fix CobraBinding compilation on Windows