Check for mkdir_p in configure stage.