Merge pull request #27 from rainers/master

Bump version to 0.3.39rc2
fix build with GIT head
translate C style array declarationa to D style