Create makefile with path `underscored_name`/`underscored_name`

This fixes compilation issues in Windows. Closes #3028