Enable exception handling for unix builds and fixed return value for node 0.11