Fixed #2114: fixed a bug of cc.pool and remove an incorrect define

Fixed a bug of cc.pool and remove an incorrect define.