WARNING: This commit may break your program. Switched to using standard types in cstdint. Compiling against c++0x. Updated examples to use standard types