Nimble: fixed source files, added prefix header, iOS 5 compatibility