heap: fix node removal
win: fix C99/C++ comment

This commit converts C++ style comment to C style comment
windows: fix warnings of MinGW -Wall -O3