Added check.m4 to project, possible solution to issue #1