Move edevstatus so it is not hidden by an #ifdef block when you don't have any FPGAs enabled.

Simple patch to move edevstatus() so it will compile correctly. Right now master fails to compile if you don't enable any FPGAs

I also added a autogen-osx-homebrew.sh file so that I can autogen on OS X.