fixed static compilation of unary/binary ops to account for the possibility of statically created swift data that isn't closed