Respond to reviewer comment

Make buildStandaloneForallStmt static and remove the forward declaration