Windows compilation fixes for znode.
interface is a reserved word in MSVC, and cast issues
Merge pull request #232 from twhittock/win_node_fix

Windows compilation fixes for znode.