cleanup OSX compilation of getinfo