Fix ac header

In order to build on OS X, I had to change the AC header as this patch does. I'm not sure if this is correct on other platforms :-/