Check for the Resource dir before building