fix windows polynomials project

Change-Id: I7d87e0fac2383212a50752a5f7ecee1ee13b6bb4
add protection around in/ouput function arguments

Change-Id: I12029219d3d74d6ad291b85e31d3ea1107dde8eb