Create makefile with path `underscored_name`/`underscored_name`

This fixes compilation issues in Windows. Closes #3028
Ensure :build task depends on :compile for native extension gems

This resolves a bug discovered in #3029 and #3028