Include the executable extension in the test rule dependency

This fixes "make test" on platforms that have an executable
extension.
Merge pull request #203 from mstorsjo/make-dep-exeext

Include the executable extension in the test rule dependency