fix build issue associated with removing the res folder