Fixed the file extension for 'dllmain' in the project, and the make-file.

You forgot the project and make files when changing the extension from 'cpp' to 'c'. This change should fix this issue. Sorry about another pull-request, I probably should have changed the extension with my initial request.

I didn't change it mainly because I wasn't sure if you wanted to keep it as 'cpp' or not.