fix api for ruby-debug-ide
fix compilation on windows