trying to make it compile on ubuntu too.