[PATCH] make the options for core configure

fix tests