Make nan compile with gcc 3.4.x

1) https://github.com/rvagg/nan/issues/107#issuecomment-42963171 for more details
2) Fix a syntax error introduced in the latest commit https://github.com/rvagg/nan/blob/master/nan.h#L1510