various build fixes
ignore m4 dir