Fixed for ARC

Fixed the lib to compile with ARC.

 --larsw