Dont´ use undefined "g_NULL"

Correct small typo to make it compile with mingw32.