Fix rebuild errors

Hi
 
Coming to build locally I encounter few issues
First I got error due to older autoreconf on our RHEL6.5
Second I needed to compile out of tree.
Both fixes below make this possible.

I also would like to ask if you plan to have some formal releases, and not development tags.
I.E. releases that already includes autoreconf outputs, so users will only do ./configure && make.
This is very common procedure in GNU projects.

Thanks
Noam