Compatibility improvements

* Add a generic SALSA implementation and disable optimized implementations by default;
* Remove macroses from ARM SALSA implementation;
* Some misc defigition fixs to correct mingw-w64 compatibility issues.