fix error when building native libraries

Building of native libraries was failing because of missing directories. The compile-natives target should have an additional mkdir for macosx64.

Unrelated - shouldn't the library version (1.3.1-SNAPSHOT) be updated?