The --with-mysql-dir option is REQUIRED on Windows, you shouldn't need the other two though... but you make me wonder if maybe a more helpful error message might be nice?