Fixed array member references, also downgraded to OS X 10.7 SDK