Fix some declarations/inclusions

Get rid of some implicit declaration warnings