Add auto sdcard finder code
Move to autoconf