Added stdlib headers to remove warnings about undefined functions