Debian build

Added two #define lines which fixes a build error on Debian due madvise related macro, and three implicit declaration warnings.