Merge pull request #27 from nuko8/osx_test_progs Modifications to make 'make check' test complete for Mac OS X