Carefully chisel out slots for the hinges.