Add apache, fix build to cope with it