configure: Add --with-3ds

This adds the flags necessary to compile for Nintendo 3DS.