clean after configure when building with native libs

See http://erlang.org/pipermail/erlang-questions/2014-April/078460.html
Merge pull request #3 from sg2342/master

From @sg2342: clean after configure when building with native libs